package com.chentf.behavioral.templateMethod.code.b;

public class Client {

    public static void main(String[] args) {
        //办理存款业务
        SaveMoney saveMoney = new SaveMoney();
        saveMoney.service();

        System.out.println("---------------");

        //办理取款业务
        TakeMoney takeMoney = new TakeMoney();
        takeMoney.service();

    }
}
